package net.linlan.plat.comm.service.impl;

import net.linlan.frame.FramePubUser;
import net.linlan.frame.FrameToken;
import net.linlan.plat.comm.service.AuthService;
import net.linlan.sys.web.RedisService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 *
 * Filename:AuthServiceImpl.java
 * Desc: 授权服务实现类
 *
 * @author Linlan
 * CreateTime:2017/8/14 18:41
 *
 * @version 1.0
 * @since 1.0
 *
 */
@Service("authService")
public class AuthServiceImpl implements AuthService {

    public static final String ERROR_COUNT = "errorCount";
    public static final String FIELD_SBASE_USER ="baseUser";
    public static final String RETURN_PARAMS = "data";

    public static final String LOGIN_ERROR_COUNT = "loginErrorCount";

    public static final String CHECK_QRCODE_KEY="OPEN_LOGIN_QRCODE_CHECK";

    @Resource
    public RedisService redisService;


    /** 通过token取出FrameToken对象
     * @param token input token
     * @return token对象
     */
    @Override
    public FrameToken getByToken(String token) {
        return null;
    }

    @Override
    public FramePubUser getWorkerByMemberId(Long memberId) {
        return null;
    }

}
